# -*-encoding=utf8 -*-
__author__ = 'Thee'

from django.urls import path,include
from rest_framework import routers
from Apps.users import views


router  = routers.DefaultRouter()
router.register('users',views.UserViewSet)

urlpatterns = [
    path('',include(router.urls)),
    path('register/', views.RegisterView.as_view()),
    path('login/', views.LoginView.as_view()),
    path('refresh/', views.RefreshView.as_view()),
]

